﻿namespace Devonline.CloudService.Aliyun;

/// <summary>
/// 阿里云短信模型
/// </summary>
public class SmsModel
{
    public SmsModel()
    {
        PhoneNumbers = new List<string>();
        TemplateParam = new Dictionary<string, string>();
    }

    /// <summary>
    /// 短信签名
    /// </summary>
    public string? SignName { get; set; }
    /// <summary>
    /// 短信模版编号
    /// </summary>
    public string? TemplateCode { get; set; }
    /// <summary>
    /// 接收短信的手机号码列表
    /// </summary>
    public List<string> PhoneNumbers { get; set; }
    /// <summary>
    /// 短信内容模板中的变量和值的集合
    /// </summary>
    public Dictionary<string, string> TemplateParam { get; set; }

    public string? OutId { get; set; }
    public long? OwnerId { get; set; }
    public string? ResourceOwnerAccount { get; set; }
    public long? ResourceOwnerId { get; set; }
    public string? SmsUpExtendCode { get; set; }
}